// vite.config.ts
import path from "node:path";
import vue from "file:///E:/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%BA%90/%E7%AC%94%E8%AE%B0/%E7%AC%94%E8%AE%B0%E6%BA%90%E6%96%87%E4%BB%B6/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%B8%93%E4%B8%9A%E7%AC%94%E8%AE%B0/%E5%90%8E%E7%AB%AF/%E9%A1%B9%E7%9B%AE/%E6%AF%95%E8%AE%BE%E9%A1%B9%E7%9B%AE-%E6%A0%A1%E5%9B%AD%E8%A1%A8%E7%99%BD%E5%A2%99%E7%B3%BB%E7%BB%9F/code/campus-circle-web/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///E:/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%BA%90/%E7%AC%94%E8%AE%B0/%E7%AC%94%E8%AE%B0%E6%BA%90%E6%96%87%E4%BB%B6/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%B8%93%E4%B8%9A%E7%AC%94%E8%AE%B0/%E5%90%8E%E7%AB%AF/%E9%A1%B9%E7%9B%AE/%E6%AF%95%E8%AE%BE%E9%A1%B9%E7%9B%AE-%E6%A0%A1%E5%9B%AD%E8%A1%A8%E7%99%BD%E5%A2%99%E7%B3%BB%E7%BB%9F/code/campus-circle-web/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import { loadEnv } from "file:///E:/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%BA%90/%E7%AC%94%E8%AE%B0/%E7%AC%94%E8%AE%B0%E6%BA%90%E6%96%87%E4%BB%B6/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%B8%93%E4%B8%9A%E7%AC%94%E8%AE%B0/%E5%90%8E%E7%AB%AF/%E9%A1%B9%E7%9B%AE/%E6%AF%95%E8%AE%BE%E9%A1%B9%E7%9B%AE-%E6%A0%A1%E5%9B%AD%E8%A1%A8%E7%99%BD%E5%A2%99%E7%B3%BB%E7%BB%9F/code/campus-circle-web/node_modules/vite/dist/node/index.js";
import { viteMockServe } from "file:///E:/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%BA%90/%E7%AC%94%E8%AE%B0/%E7%AC%94%E8%AE%B0%E6%BA%90%E6%96%87%E4%BB%B6/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%B8%93%E4%B8%9A%E7%AC%94%E8%AE%B0/%E5%90%8E%E7%AB%AF/%E9%A1%B9%E7%9B%AE/%E6%AF%95%E8%AE%BE%E9%A1%B9%E7%9B%AE-%E6%A0%A1%E5%9B%AD%E8%A1%A8%E7%99%BD%E5%A2%99%E7%B3%BB%E7%BB%9F/code/campus-circle-web/node_modules/vite-plugin-mock/dist/index.mjs";
import svgLoader from "file:///E:/%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%BA%90/%E7%AC%94%E8%AE%B0/%E7%AC%94%E8%AE%B0%E6%BA%90%E6%96%87%E4%BB%B6/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%B8%93%E4%B8%9A%E7%AC%94%E8%AE%B0/%E5%90%8E%E7%AB%AF/%E9%A1%B9%E7%9B%AE/%E6%AF%95%E8%AE%BE%E9%A1%B9%E7%9B%AE-%E6%A0%A1%E5%9B%AD%E8%A1%A8%E7%99%BD%E5%A2%99%E7%B3%BB%E7%BB%9F/code/campus-circle-web/node_modules/vite-svg-loader/index.js";
var __vite_injected_original_dirname = "E:\\\u5B66\u4E60\u8D44\u6E90\\\u7B14\u8BB0\\\u7B14\u8BB0\u6E90\u6587\u4EF6\\\u8BA1\u7B97\u673A\u4E13\u4E1A\u7B14\u8BB0\\\u540E\u7AEF\\\u9879\u76EE\\\u6BD5\u8BBE\u9879\u76EE-\u6821\u56ED\u8868\u767D\u5899\u7CFB\u7EDF\\code\\campus-circle-web";
var CWD = process.cwd();
var vite_config_default = ({ mode }) => {
  const { VITE_BASE_URL, VITE_API_URL_PREFIX } = loadEnv(mode, CWD);
  return {
    base: VITE_BASE_URL,
    resolve: {
      alias: {
        "@": path.resolve(__vite_injected_original_dirname, "./src")
      }
    },
    css: {
      preprocessorOptions: {
        less: {
          modifyVars: {
            hack: `true; @import (reference) "${path.resolve("src/style/variables.less")}";`
          },
          math: "strict",
          javascriptEnabled: true
        }
      }
    },
    plugins: [
      vue(),
      vueJsx(),
      viteMockServe({
        mockPath: "mock",
        enable: false
      }),
      svgLoader()
    ],
    server: {
      proxy: {
        [VITE_API_URL_PREFIX]: {
          target: "http://localhost:8081",
          changeOrigin: true,
          rewrite: (path2) => path2.replace(/^\/api/, "")
        }
      }
    }
  };
};
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxcdTVCNjZcdTRFNjBcdThENDRcdTZFOTBcXFxcXHU3QjE0XHU4QkIwXFxcXFx1N0IxNFx1OEJCMFx1NkU5MFx1NjU4N1x1NEVGNlxcXFxcdThCQTFcdTdCOTdcdTY3M0FcdTRFMTNcdTRFMUFcdTdCMTRcdThCQjBcXFxcXHU1NDBFXHU3QUVGXFxcXFx1OTg3OVx1NzZFRVxcXFxcdTZCRDVcdThCQkVcdTk4NzlcdTc2RUUtXHU2ODIxXHU1NkVEXHU4ODY4XHU3NjdEXHU1ODk5XHU3Q0ZCXHU3RURGXFxcXGNvZGVcXFxcY2FtcHVzLWNpcmNsZS13ZWJcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkU6XFxcXFx1NUI2Nlx1NEU2MFx1OEQ0NFx1NkU5MFxcXFxcdTdCMTRcdThCQjBcXFxcXHU3QjE0XHU4QkIwXHU2RTkwXHU2NTg3XHU0RUY2XFxcXFx1OEJBMVx1N0I5N1x1NjczQVx1NEUxM1x1NEUxQVx1N0IxNFx1OEJC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aW1wb3J0IHN2Z0xvYWRlciBmcm9tICd2aXRlLXN2Zy1sb2FkZXInO1xuXG5jb25zdCBDV0QgPSBwcm9jZXNzLmN3ZCgpO1xuXG4vLyBodHRwczovL3ZpdGVqcy5kZXYvY29uZmlnL1xuZXhwb3J0IGRlZmF1bHQgKHsgbW9kZSB9OiBDb25maWdFbnYpOiBVc2VyQ29uZmlnID0+IHtcbiAgICBjb25zdCB7IFZJVEVfQkFTRV9VUkwsIFZJVEVfQVBJX1VSTF9QUkVGSVggfSA9IGxvYWRFbnYobW9kZSwgQ1dEKTtcbiAgICByZXR1cm4ge1xuICAgICAgICBiYXNlOiBWSVRFX0JBU0VfVVJMLFxuICAgICAgICByZXNvbHZlOiB7XG4gICAgICAgICAgICBhbGlhczoge1xuICAgICAgICAgICAgICAgICdAJzogcGF0aC5yZXNvbHZlKF9fZGlybmFtZSwgJy4vc3JjJyksXG4gICAgICAgICAgICB9LFxuICAgICAgICB9LFxuXG4gICAgICAgIGNzczoge1xuICAgICAgICAgICAgcHJlcHJvY2Vzc29yT3B0aW9uczoge1xuICAgICAgICAgICAgICAgIGxlc3M6IHtcbiAgICAgICAgICAgICAgICAgICAgbW9kaWZ5VmFyczoge1xuICAgICAgICAgICAgICAgICAgICAgICAgaGFjazogYHRydWU7IEBpbXBvcnQgKHJlZmVyZW5jZSkgXCIke3BhdGgucmVzb2x2ZSgnc3JjL3N0eWxlL3ZhcmlhYmxlcy5sZXNzJyl9XCI7YCxcbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgbWF0aDogJ3N0cmljdCcsXG4gICAgICAgICAgICAgICAgICAgIGphdmFzY3JpcHRFbmFibGVkOiB0cnVlLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9LFxuICAgICAgICB9LFxuXG4gICAgICAgIHBsdWdpbnM6IFtcbiAgICAgICAgICAgIHZ1ZSgpLFxuICAgICAgICAgICAgdnVlSnN4KCksXG4gICAgICAgICAgICB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